package com.tech.koufu.ui.activity.setting;

import com.tech.koufu.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

public class ChangePwdActivity extends Activity{
	private ImageView img_callback;
	private TextView tv_title;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_setting_changepwd);
		initView();
	}
	
	private void initView(){
		tv_title = (TextView)findViewById(R.id.tv_title);
		tv_title.setText("修改密码");
		tv_title.setVisibility(View.VISIBLE);
		img_callback = (ImageView)findViewById(R.id.img_callback);
		img_callback.setVisibility(View.VISIBLE);
		img_callback.setOnClickListener(new myOnClickListener());
	}
	
	private class myOnClickListener implements OnClickListener{

		@Override
		public void onClick(View v) {
			// TODO Auto-generated method stub
			switch (v.getId()) {
			case R.id.img_callback:
				ChangePwdActivity.this.finish();
				break;

			default:
				break;
			}
		}
		
	}

}
